<!--
 * @Author: gyc
 * @Date: 2020-06-30 15:30:26
 * @LastEditTime: 2020-07-09 16:03:25
 * @Description: Nuxt测试版
--> 
<template>
  <div class="article-rank">
    <div class="article-rank-box" v-for="(item, index) in 6" :key="index">
      <img src="/img/logo.png" />
      <div class="rank-box-msg">
        <span>别动我结菜</span>
        <div class="box-msg-bottom">
          <span>活跃天数:122天</span>
          <span>hot:1321</span>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "articleRank"
};
</script>

<style lang="scss" scoped>
.article-rank {
  width: 100%;
  .article-rank-fx{
    width: 100%;
    height: 80px;
    background-color: black;
  }
  h3 {
    display: flex;
    height: 40px;
    align-items: center;
    padding-left: 5px;
  }
  .article-rank-box {
    display: flex;
    width: 100%;
    height: 40px;
    align-items: center;
    margin-bottom: 10px;
    img {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      margin-right: 5px;
    }
    .rank-box-msg {
      display: flex;
      flex-direction: column;
      span {
        color: black;
        font-weight: 600;
      }
      .box-msg-bottom {
        width: 255px;
        display: flex;
        justify-content: space-between;
        span {
          color: #9b9b9b;
          font-weight: 500;
          font-size: 12px;
        }
      }
    }
  }
}
</style>